export * from "./responseMap";
export * from "./type";
export * from "./constant";
export * from "./formatTime";
export * from "./file";

export const isJson = (data: string) => {
  try {
    return typeof JSON.parse(data) === "object" && JSON.parse(data);
  } catch (e) {
    return false;
  }
};